//
//  FindCell.m
//  Menu
//
//  Created by mc on 16/4/1.
//  Copyright © 2016年 xmj. All rights reserved.
//

#import "FindCell.h"
#import "Find.h"
#import <UIImageView+WebCache.h>

@interface FindCell()

@property (weak, nonatomic) IBOutlet UIImageView *findImageView;

@end

@implementation FindCell

- (void)setFind:(Find *)find{
    _find = find;
    
    [self.findImageView sd_setImageWithURL:[NSURL URLWithString:find.albums]];
};

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

//iphone6坐标系下的坐标。（会根据屏幕自动缩放倍数计算）
#define IPHONE6_SIZE(X)  ([UIScreen mainScreen].bounds.size.width/(750.0/2.0))*X

+ (CGFloat)height{
    return IPHONE6_SIZE(200);
    //iphone6 shipei  375kuan  ;320   height = (yuanlaideHegiht/375)* [scere].width
    
    
}
@end
